package com.cinc.ebc.pp.workOrderReport.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 生产工单汇报单
 * @Author: jeecg-boot
 * @Date:   2024-04-06
 * @Version: V1.0
 */
@Data
@TableName("pp_work_order_report")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="pp_work_order_report对象", description="生产工单汇报单")
public class PpWorkOrderReport implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private java.lang.String tenantId;
	/**汇报单号*/
	@Excel(name = "汇报单号", width = 15)
    @ApiModelProperty(value = "汇报单号")
    private java.lang.String reportNo;
	/**工单ID*/
	@Excel(name = "工单ID", width = 15)
    @ApiModelProperty(value = "工单ID")
    private java.lang.String workOrderId;
	/**工单号*/
	@Excel(name = "工单号", width = 15)
    @ApiModelProperty(value = "工单号")
    private java.lang.String orderNo;
	/**工序明细ID*/
	@Excel(name = "工序明细ID", width = 15)
    @ApiModelProperty(value = "工序明细ID")
    private java.lang.String workOrderPrcocessId;
	/**工序编号*/
	@Excel(name = "工序编号", width = 15)
    @ApiModelProperty(value = "工序编号")
    private java.lang.String processNo;
	/**工序名称*/
	@Excel(name = "工序名称", width = 15)
    @ApiModelProperty(value = "工序名称")
    private java.lang.String processName;
	/**工作中心*/
    @Excel(name = "工作中心", width = 15, dictTable = "mdm_work_center", dicText = "name", dicCode = "id")
    @Dict(dictTable = "mdm_work_center", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "工作中心")
    private java.lang.String workId;
	/**汇报数量*/
	@Excel(name = "汇报数量", width = 15)
    @ApiModelProperty(value = "汇报数量")
    private java.math.BigDecimal reportQty;
	/**合格数量*/
	@Excel(name = "合格数量", width = 15)
    @ApiModelProperty(value = "合格数量")
    private java.math.BigDecimal checkQty;
	/**废品数量*/
	@Excel(name = "废品数量", width = 15)
    @ApiModelProperty(value = "废品数量")
    private java.math.BigDecimal scrapQty;
	/**返修数量*/
	@Excel(name = "返修数量", width = 15)
    @ApiModelProperty(value = "返修数量")
    private java.math.BigDecimal reworkQty;
    /**不合格数量*/
    @Excel(name = "不合格数量", width = 15)
    @ApiModelProperty(value = "不合格数量")
    private java.math.BigDecimal uncheckQty;
    /**接收数量*/
    @Excel(name = "接收数量", width = 15)
    @ApiModelProperty(value = "接收数量")
    private java.math.BigDecimal receiveQty;
	/**面积*/
	@Excel(name = "面积", width = 15)
    @ApiModelProperty(value = "面积")
    private java.math.BigDecimal areaNum;
	/**重量*/
	@Excel(name = "重量", width = 15)
    @ApiModelProperty(value = "重量")
    private java.math.BigDecimal weight;
	/**工时*/
	@Excel(name = "工时", width = 15)
    @ApiModelProperty(value = "工时")
    private java.math.BigDecimal reportTime;
	/**汇报人*/
	@Excel(name = "汇报人", width = 15)
    @ApiModelProperty(value = "汇报人")
    private java.lang.String reportUser;
	/**汇报日期*/
	@Excel(name = "汇报日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "汇报日期")
    private java.util.Date reportDate;
	/**检验人*/
	@Excel(name = "检验人", width = 15)
    @ApiModelProperty(value = "检验人")
    private java.lang.String checkUser;
	/**检验日期*/
	@Excel(name = "检验日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "检验日期")
    private java.util.Date checkDate;
	/**接收人*/
	@Excel(name = "接收人", width = 15)
    @ApiModelProperty(value = "接收人")
    private java.lang.String receiveUser;
	/**接收日期*/
	@Excel(name = "接收日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "接收日期")
    private java.util.Date receiveDate;
	/**接收工作中心*/
	@Excel(name = "接收工作中心", width = 15)
    @ApiModelProperty(value = "接收工作中心")
    private java.lang.String receiveWorkId;
	/**检验部门*/
	@Excel(name = "检验部门", width = 15)
    @ApiModelProperty(value = "检验部门")
    private java.lang.String checkDept;
}
